// 游戏关键词
export const CHENG_YU_JIE_LONG = '成语接龙'
export const BU_GUA = '卜卦'
export const JIN_RI_YUN_SHI = '今日运势'
export const CHA_HUANG_LI = '查黄历'
export const SHUI_SHI_WO_DI = '谁是卧底'
export const LING_QUAN = '领券'
export const GAME_KEYS = [CHENG_YU_JIE_LONG, BU_GUA, JIN_RI_YUN_SHI, CHA_HUANG_LI, SHUI_SHI_WO_DI, LING_QUAN]

// 请求地址配置,全局使用API_CONFIG,通过切换XX_API_ADDRESS更换请求地址
export const OPEN_AI_API_ADDRESS = {
  name: 'openai',
  chatUrl: '/v1/chat/completions'
}
export const SELF_API_ADDRESS = {
  name: '',
  chatUrl: ''
}
export const API_CONFIG = process.env.IS_SELF_SERVER === '1' ? SELF_API_ADDRESS : OPEN_AI_API_ADDRESS
